package ScriptInfo.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.data.annotation.Id;

import java.time.LocalDateTime;

@Data
@TableName(value = "script")
public class ScriptInfo {
    @Id
    @Schema(description = "内码",name = "id")
    private Integer id; // 脚本ID
    @Schema(description = "文件上传路径",name = "url")
    private String url; // 文件上传路径
    @Schema(description = "脚本名称",name = "scriptName")
    private String scriptName; // 脚本名称
    @Schema(description = "脚本描述",name = "scriptDesc")
    private String scriptDesc; // 脚本描述
    @Schema(description = "脚本分类",name = "scriptType")
    private String scriptType; // 脚本分类
    @Schema(description = "脚本状态",name = "scriptStatic")
    private Integer scriptStatic; // 脚本状态
    @Schema(description = "创建时间",name = "createTime")
    private LocalDateTime createTime; // 创建时间
    @Schema(description = "更新时间",name = "updateTime")
    private LocalDateTime updateTime; // 更新时间
    @Schema(description = "脚本语言类型",name = "language")
    private String language; // 脚本语言类型
    @Schema(description = "函数名",name = "function")
    private String function; // 函数名
    @Schema(description = "输入参数",name = "inParameter")
    private String inParameter; // 输入参数
    @Schema(description = "输出参数",name = "outParameter")
    private String outParameter; // 输出参数
}
